package com.hjc.dto;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "system.constants")
public class SystemConstants {
    private String attendanceStartTime;
    private String attendanceTime;
    private String attendanceEndTime;
    private String closingStartTime;
    private String closingTime;
    private String closingEndTime;
    /**
     * 上传路径
     */
    @Getter
    private static String profile;


    public void setProfile(String profile) {
        SystemConstants.profile = profile;
    }
}
